package zzr.library.db.obj.combine;

import androidx.room.Embedded;
import androidx.room.Relation;

import zzr.library.db.obj.BookDO;
import zzr.library.db.obj.BorrowDO;

public class BorrowWithBook {

    @Embedded
    public BorrowDO borrow;

    @Relation(
            parentColumn = "oid",
            entityColumn = "bid"
    )
    public BookDO book;

}
